package co.com.sigma.ceplex.view;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import co.com.sigma.ceplex.controller.bo.GisServiceBo;
import co.com.sigma.ceplex.model.GisService;

@Controller
@Scope("session")
public class User {
	
	@Resource
	private GisServiceBo gisServiceBo;
	
	private String name;

	public User(){
		this.name = "";
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@SuppressWarnings("unused")
	public String sayHello() {
		List<GisService> list = gisServiceBo.getListService();
		return "greeting";
	}

}
